package nettyexample.entity;


import lombok.Data;
import nettyexample.command.Packet;

import static nettyexample.command.Command.LOGIN_RESPONSE;

/**
 * @author zoush
 * @time 2024/12/18 11:39
 */
@Data
public class LoginResponsetPacket extends Packet {

    private boolean success;

    //如果失败，返回的信息
    private String reason;

    @Override
    public Byte getCommand() {
        return LOGIN_RESPONSE;
    }
}
